package com.im.project.entity.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

/**
 * 消息置顶参数
 *
 * @author yunZhouJiaDi
 */
@Data
@Accessors(chain = true)
public class MessageTopDto {

    @ApiModelProperty("联系人类型")
    @NotNull(message = "联系人类型不能为空")
    private Integer contactType;

    @ApiModelProperty("消息id")
    @NotEmpty(message = "消息id不能为空")
    private String messageId;

    @ApiModelProperty("联系人id")
    @NotEmpty(message = "联系人id不能为空")
    private String contactId;

}
